package com.wsm.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsm.common.domain.ConfigDO;

import java.util.List;
import java.util.Map;

/**
 * 系统配置信息表
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-14 17:43:18
 * @description : 系统配置信息表
 */
public interface ConfigService extends IService<ConfigDO> {

	List<ConfigDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int orSave(ConfigDO config);

	int update(ConfigDO config);

	int remove(Long id);

	int batchRemove(Long[] ids);

	int updateUseFlag(Long id, Integer useFlag);
}
